package xyj.sparrow.scheduler.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 江南小俊
 * @since 2021/6/22 上午12:31
 **/

@ConfigurationProperties(prefix = "xyj.sparrow.redis")
@Data
public class RedisConf {
    /**
     * 地址
     **/
    private String address = "127.0.0.1";
    /**
     * 端口号，默认6379
     **/
    private int port = 6379;
}
